/*
 * Copyright @ 苏州瑞云信息技术有限公司 All rights reserved.
 */
package cn.com.recloud.bbs.dao;

import cn.com.recloud.bbs.dto.CampaignAnalysisDTO;
import cn.com.recloud.bbs.entity.bbs_campaign_sign_up;
import cn.com.recloud.bbs.vo.SharedLogVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author kim dong
 * @date 2020-06-08
 */
public interface CampaignSignUpDao extends BaseMapper<bbs_campaign_sign_up> {

    /**
     * 分享统计
     * @param analysisDTO
     * @return
     */
    List<SharedLogVO> listCampaignSignUp(CampaignAnalysisDTO analysisDTO);

    /**
     * 分享统计的总条数
     * @param dto
     * @return
     */
    Integer listCountCampaignSignUp(CampaignAnalysisDTO dto);

    /**
     * 分享记录导出
     * @param campaign
     * @return
     */
    List<SharedLogVO> exportSignUp(CampaignAnalysisDTO campaign);
}
